import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/zh-cn' // 中文语言

import App from './App.vue'
import router from './router'
import store from './store'
import '@/router/permission'

import 'element-plus/dist/index.css'
import '@/styles/app.scss'
import 'animate.css'
import 'uno.css'

const app = createApp(App)

// 使用element-plus 并且设置全局的大小
app.use(ElementPlus, {
  locale: locale,
  size: 'default',
})

app.use(router)
app.use(store)
// 剪切板
app.mount('#app')
